package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.query.StrategyCatalogQuery;
import cn.wolfcode.wolf2w.vo.CatalogVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCatalogService {
    void save(StrategyCatalog strategyCatalog);
    void delete(String id);
    StrategyCatalog get(String id);
    List<StrategyCatalog> list();
    /**
     *  分页查询
     * @param qo
     * @return
     */
    Page<StrategyCatalog> query(StrategyCatalogQuery qo);


    /**
     * @return
     */
    List<CatalogVO> groupList();

    List<StrategyCatalog> queryCatalogByDestId(String destId);
}
